package com.ruoyi.mx.service;

import com.ruoyi.mx.domain.MxComment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.mx.dto.CommentDetail;

import java.util.ArrayList;
import java.util.List;

/**
 * 美秀评论Service接口
 *
 * @author ruoyi
 * @date 2021-10-12
 */
public interface IMxCommentService extends IService<MxComment> {


    ArrayList<CommentDetail> getPCommentsByAid(String aid);

    void insertCCai(String cid, String id);

    Integer delCCai(String cid, String id);

    void insertCZan(String cid, String id);

    Integer delCZan(String cid, String id);


    Integer countCZan(String cid, String id);

    Integer countCCai(String cid, String id);

    List<CommentDetail> getChildComments(String cid);

    CommentDetail getPCommentByCid(String cid);
}
